package cn.wp.ewallet.wmps.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 定期理财产品订单-Do实体
 * Created by ganjie on 2020/01/11
 */
@Data
@Table(value = "FIX_PROD_ORDER_REL",keys = {"prod_order_id"})
public class FixProdOrderRelDo implements Serializable {
    
    /** 理财订单唯一标识  */
    @Column("prod_order_id")
    private String prodOrderId;

    /** 描述该笔订单到期后应该获得的利息  */
    @Column("rec_yield")
    private BigDecimal recYield;

    /** 该笔理财每日应给用户返还收益额  */
    @Column("daily_return_amount")
    private BigDecimal dailyReturnAmount;

    /**   */
    @Column("actual_yield")
    private BigDecimal actualYield;

    /** 到期时间  */
    @Column("exp_time")
    private Date expTime;

    /** Y-到期自动续购  N-到期直接赎回  */
    @Column("is_auto_renewal")
    private String isAutoRenewal;

    
}